package com.cn.zengzeng.spbzengzeng.controller;

import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @Description:
 * @Author: zhangzengzeng
 * @Date: 2021/9/14 22:32
 */
@Controller
@Slf4j
public class GetPageCtroller {

    @GetMapping(value = "/")
    public String getLogin(){
        return "index";
    }
    @GetMapping(value = "/onlineMessage")
    public String lineMessage(){
        return "websocket";
    }
    @GetMapping(value = "/message")
    public String message(){
        return "message";
    }
}
